package com.ly.hotel.spainterface.jxd.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by SHUBEN on 2018/3/21.
 */

public class JxdXfTypeBean {
    private int type;           //当前类别所属大类
    private boolean show = true;
    private String no;
    private String name = "";
    private String mark = "";
    private List<JxdXFItemBean> typeItemList;
    private String sortItems;

    public JxdXfTypeBean(int type){
        this.type = type;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public void setShow(boolean show) {
        this.show = show;
    }

    public int getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public String getMark() {
        return mark;
    }

    public String getNo() {
        return no;
    }

    public boolean getShow() {
        return show;
    }

    public List<JxdXFItemBean> getTypeItems() {
        return typeItemList;
    }

    public void setTypeItems(JxdXFItemBean x) {
        if(typeItemList == null){
            typeItemList = new ArrayList<JxdXFItemBean>();
        }
        typeItemList.add(x);
    }

    public void setSortItems(String sortItems) {
        this.sortItems = sortItems;
    }

    public String getSortItems() {
        return sortItems;
    }
}
